import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
export default function IconButton({
  icon,children
}) {
  console.log(children)
  return (
    <button>
      <FontAwesomeIcon icon={['fab','apple']} style={{color:'red'}}/>
      {children}
    </button>
  )
}